package com.jia.springcloud.service;

import com.jia.springcloud.entities.Payment;


/**
 * @author 1038940655
 * @create 2021/1/19 15:55
 */


public interface PaymentService {
    /**
     * 添加付款信息service层
     * @param payment
     * @return
     */
    public abstract int create(Payment payment);

    /**
     * 通过id获得付款信息service层
     * @param id
     * @return
     */
    public abstract Payment getPaymentById(Integer id);
}
